﻿2026-08-18T09:22:48.0660122Z ##[group]Run $root = $env:SPT_CI_TEST_TMP
2026-08-18T09:22:48.0660387Z [36;1m$root = $env:SPT_CI_TEST_TMP[0m
2026-08-18T09:22:48.0660566Z [36;1mif ([string]::IsNullOrEmpty($root)) {[0m
2026-08-18T09:22:48.0660854Z [36;1m  Write-Host 'PUMP188_DIAG_SINK_DUMP: SPT_CI_TEST_TMP unset — nothing to search'[0m
2026-08-18T09:22:48.0661120Z [36;1m  exit 0[0m
2026-08-18T09:22:48.0661234Z [36;1m}[0m
2026-08-18T09:22:48.0661425Z [36;1m# Canonical home searched too — see the role-B step for why: a child that[0m
2026-08-18T09:22:48.0661756Z [36;1m# loses SPT_HOME resolves it instead, and this is the Windows box where[0m
2026-08-18T09:22:48.0662040Z [36;1m# `spawn_detached` is documented to drop that var. Read only.[0m
2026-08-18T09:22:48.0662253Z [36;1m$roots = @($root)[0m
2026-08-18T09:22:48.0662439Z [36;1mif (-not [string]::IsNullOrEmpty($env:LOCALAPPDATA)) {[0m
2026-08-18T09:22:48.0662679Z [36;1m  $roots += (Join-Path $env:LOCALAPPDATA 'spt-core')[0m
2026-08-18T09:22:48.0662995Z [36;1m}[0m
2026-08-18T09:22:48.0663213Z [36;1mWrite-Host "PUMP188_DIAG_SINK_DUMP: searching $($roots -join ' ; ')"[0m
2026-08-18T09:22:48.0663447Z [36;1m$found = 0[0m
2026-08-18T09:22:48.0663771Z [36;1mGet-ChildItem -LiteralPath $roots -Filter 'pump188-diag.log' -Recurse -File -ErrorAction SilentlyContinue | ForEach-Object {[0m
2026-08-18T09:22:48.0664127Z [36;1m  $found++[0m
2026-08-18T09:22:48.0664325Z [36;1m  $n = (Get-Content -LiteralPath $_.FullName | Measure-Object -Line).Lines[0m
2026-08-18T09:22:48.0664622Z [36;1m  Write-Host "--- PUMP188_DIAG sink: $($_.FullName) ($n lines) ---"[0m
2026-08-18T09:22:48.0664878Z [36;1m  Get-Content -LiteralPath $_.FullName | Write-Host[0m
2026-08-18T09:22:48.0665056Z [36;1m}[0m
2026-08-18T09:22:48.0665231Z [36;1mWrite-Host "PUMP188_DIAG_SINK_DUMP: $found sink file(s) under $root"[0m
2026-08-18T09:22:48.0669196Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2026-08-18T09:22:48.0669434Z env:
2026-08-18T09:22:48.0669693Z   SPT_CI_TEST_TMP: C:\actions-runner\_work\_temp\spt-test-tmp-32119561081-1-cfcae2b24fe3464fab33479041279f2a
2026-08-18T09:22:48.0670181Z   TEMP: C:\actions-runner\_work\_temp\spt-test-tmp-32119561081-1-cfcae2b24fe3464fab33479041279f2a
2026-08-18T09:22:48.0670577Z   TMP: C:\actions-runner\_work\_temp\spt-test-tmp-32119561081-1-cfcae2b24fe3464fab33479041279f2a
2026-08-18T09:22:48.0670851Z ##[endgroup]
2026-08-18T09:22:48.3019167Z PUMP188_DIAG_SINK_DUMP: searching C:\actions-runner\_work\_temp\spt-test-tmp-32119561081-1-cfcae2b24fe3464fab33479041279f2a ; C:\Users\decid\AppData\Local\spt-core
2026-08-18T09:22:48.4878622Z PUMP188_DIAG_SINK_DUMP: 0 sink file(s) under C:\actions-runner\_work\_temp\spt-test-tmp-32119561081-1-cfcae2b24fe3464fab33479041279f2a
